package com.icow.wms.basic.mapper;

import java.util.List;
import com.icow.wms.basic.domain.AgvErrorInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * agvErrorInfoMapper接口
 * 
 * @author bcs
 * @date 2024-08-23
 */
@Mapper
public interface AgvErrorInfoMapper 
{
    /**
     * 查询agvErrorInfo
     * 
     * @param id agvErrorInfoID
     * @return agvErrorInfo
     */
    public AgvErrorInfo selectAgvErrorInfoById(Long id);

    /**
     * 查询agvErrorInfo列表
     * 
     * @param agvErrorInfo agvErrorInfo
     * @return agvErrorInfo集合
     */
    public List<AgvErrorInfo> selectAgvErrorInfoList(AgvErrorInfo agvErrorInfo);

    /**
     * 新增agvErrorInfo
     * 
     * @param agvErrorInfo agvErrorInfo
     * @return 结果
     */
    public int insertAgvErrorInfo(AgvErrorInfo agvErrorInfo);

    /**
     * 修改agvErrorInfo
     * 
     * @param agvErrorInfo agvErrorInfo
     * @return 结果
     */
    public int updateAgvErrorInfo(AgvErrorInfo agvErrorInfo);

    /**
     * 删除agvErrorInfo
     * 
     * @param id agvErrorInfoID
     * @return 结果
     */
    public int deleteAgvErrorInfoById(Long id);

    /**
     * 批量删除agvErrorInfo
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAgvErrorInfoByIds(Long[] ids);

    public int deleteThirtyDaysAgoData();
}
